#pragma once
#include <iostream>
using namespace std;
typedef int Element;

class SList
{
public:
	void Print(SList* head);
	void PushFront(SList*& head, Element x);

private:
	SList* next;
	Element val;
};